package com.wlyuan.index.domain.index.valueobj;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.time.LocalDateTime;

/**
 * @author yuanjie
 */
@Deprecated
@Data
public class WaybillSign {
    @ApiModelProperty("签收人")
    private Long signBy;

    @ApiModelProperty("签收时间")
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    private LocalDateTime signAt;

    @ApiModelProperty("签收类型")
    private Integer type;

    @ApiModelProperty("签收类型(小类)")
    private Integer signatory;

    @ApiModelProperty("签收数量")
    private Integer quantity;

    @ApiModelProperty("签收异常总数量")
    private Integer exceptionQuantity;

    @ApiModelProperty("签收缺少数量")
    private Integer lackQuantity;

    @ApiModelProperty("签收丢失数量")
    private Integer loseQuantity;

    @ApiModelProperty("签收破损数量")
    private Integer damageQuantity;

    @ApiModelProperty("签收异常其他数量")
    private Integer otherQuantity;
}
